package com.qinggeng.common.exception;

import com.qinggeng.common.enums.ShowTypeEnum;

/**
 * 工具类异常
 * 
 * @author qinggeng
 */
public class UtilException extends RuntimeException
{
    private static final long serialVersionUID = 8247610319171014183L;

    private int type;

    private String content;


    public UtilException(Throwable e)
    {
        super(e.getMessage(), e);
    }

    public UtilException(String message)    {
        super(message);
    }

    public UtilException(String message, Throwable throwable)
    {
        super(message, throwable);
    }

    public int getType() {
        return type;
    }

    public String getContent() {
        return content;
    }
}
